/**
 * Copyright (C), 2015-2019, XXX有限公司
 * FileName: PickService
 * Author:   zhouheng
 * Date:     2019/5/2 22:48
 * Description: 采摘服务
 * History:
 * <author>          <time>          <version>          <desc>
 * 作者姓名           修改时间           版本号              描述
 */
package com.zhouh.patterns.com.zhouh.structure.facade;

import com.zhouh.patterns.com.zhouh.structure.bridge.bag.BagAbstraction;
import com.zhouh.patterns.com.zhouh.structure.bridge.bag.SmallBag;
import com.zhouh.patterns.com.zhouh.structure.bridge.material.Material;
import com.zhouh.patterns.com.zhouh.structure.bridge.material.Paper;

/**
 * 〈一句话功能简述〉<br> 
 * 〈采摘服务〉
 *
 * @author zhouheng
 * @create 2019/5/2
 * @since 1.0.0
 */
public class PickService {
    /**
     * 采摘水果
     */
    public void doPick(){
        //袋子型号
        BagAbstraction pickBag = new SmallBag();

        //袋子材质
        Material material = new Paper();
        pickBag.setMaterial(material);

        //开始采摘
        pickBag.pick();
    }
}